<?php
/**
 * rakuten订单地址 (乐天)
 * (rakuten-model)
 */

namespace App\Models\Rakuten;

use Illuminate\Database\Eloquent\Model;

class RakutenOrderAddress extends Model {

    protected $connection = 'mysql_rakuten';

    protected $table = 'rakuten_orders_address';

    protected $guarded  = [];

    public function rakuten_order(){
        return $this->belongsTo(RakutenOrder::class, 'order_id', 'order_id');
    }

}
